
import Home from '@/pages/Home';
import Login from '@/pages/Login';
import About from '@/pages/About';

export default [

    {
        path: '/home',
        component: Home,   //  注册路由组件
    },
    {
        path: '/about',
        component: About,   //  注册路由组件
    },
    {
        path: '/login',
        component: Login,   //  注册路由组件
        meta:{
            isHidden:true
        }
    },
    // 重定向路由   
    {
        path: '/',
        redirect: '/home'
    },
]
